
const container = document.getElementsByClassName('container')[0];
const signIn = document.getElementById('sign-in');
const signUp = document.getElementById('sign-up');

signUp.onclick = function() {
    container.classList.add('active');
}
signIn.onclick = function() {
    container.classList.remove('active');

    var timeClock;
    function sendCode() {
        var timer_num = 60;
        timeClock=setInterval(function(){
            timer_num--;
            $('.clock').html(timer_num);

            if (timer_num == 0) {
                clearInterval(timeClock);
                $('.clock').html(60);
            }
        },1000)

    }
    $("button").click(function(){
        sendCode();
    })


}
$(function(){
    $("//#region sigup").click(function(){

    })
})